// 用于管理整个项目的所有的接口的
import http from "./http";

// 最受欢迎列表接口
export const ratedApi = (params) => http.get("/rated/list", params);

// 电影列表接口
export const moviesApi = (params) => http.get("/movies/list", params);

// 加载更多的接口
export const getMoreApi = (data) => http.post("/movies/more", data);

// 详情页接口
export const detailApi = (data) => http.post("/movies/detail", data);

// 城市接口
export const cityApi = (params) => http.get("/area/list", params);
